package com.loong.common.rabbitmq.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description:
 * @Author: hzp
 * @Date: 2021-1-2 12:13
 */
@Getter
@AllArgsConstructor
public enum CommonEvent {
    CREATE((short)1,"新增"),
    UPDATE((short)2,"修改"),
    DELETE((short)3,"删除"),
    ;
    private Short code;

    private String desc;
}
